//-------------------------------------------------------------------
//	Copyright (c) 2012-2014 Zhirnov Andrey
//	This file is part of the "UXGEN-ES" project.
//	See copyright notice in "Engine.h".
//-------------------------------------------------------------------

#pragma once

#include "Platforms/Base/IApplication.h"

#if defined( PLATFORM_WINDOWS ) and defined( ANDROID_EMULATOR )

#include "Platforms/Windows/WFileSystem.h"
#include "Platforms/Windows/WSensorManager.h"
#include "Platforms/Windows/WKeyCodes.h"
#include "Platforms/Windows/WOpenGL.h"

namespace Engine
{
namespace Platforms
{

	//
	// Android Window Surface
	//

	struct AndroidWindowSurface
	{
	// methods
	public:
		AndroidWindowSurface ()
		{}

		AndroidWindowSurface (const AndroidWindowSurface &other)
		{
		}

		~AndroidWindowSurface ()
		{
			Destroy();
		}

		void * Get () const
		{
			return null;
		}

		bool IsValid () const
		{
			return true;
		}

		bool operator == (const AndroidWindowSurface &right) const
		{
			return true;
		}

		void Destroy ()
		{
		}
	};


	typedef WindowsFileSystem		AndroidFileSystem;
	typedef WindowsSensorManager	AndroidSensorManager;
	typedef WindowsLibOpenGL		AndroidLibOpenGL;


	class WindowsEditText;
	class WindowsWebView;

	typedef WindowsEditText			AndroidEditText;
	typedef WindowsWebView			AndroidWebView;

}	// Platforms
}	// Engine

#include "Platforms/Android/AApplication.h"

#endif	// PLATFORM_WINDOWS and ANDROID_EMULATOR